RDMA/hns: RDMA/hns: Assign rq head pointer when enable rq record db
authorLijun Ou <oulijun@huawei.com>
Sat, 12 Jan 2019 10:36:29 +0000 (18:36 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Thu, 18 Jul 2019 22:23:17 +0000 (23:23 +0100)
commit9e26ce12ec88aedcd46b05545dfbd489285a7b18
tree3feab9e6aa117c4a685486260de2a97b5c927515
parent7a53893ca2059482114df5333e60430a832296bd
RDMA/hns: RDMA/hns: Assign rq head pointer when enable rq record db

When flush cqe, it needs to get the pointer of rq and sq from db address
space of user and update it into qp context by modified qp. if rq does not
exist, it will not get the value from db address space of user.

Signed-off-by: Lijun Ou <oulijun@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Gbp-Pq: Topic bugfix/arm64/huawei-taishan
Gbp-Pq: Name 0031-RDMA-hns-RDMA-hns-Assign-rq-head-pointer-when-enable.patch
drivers/infiniband/hw/hns/hns_roce_qp.c